package com.example.Vehcile;

public class Plane extends Vehicle {
    public Plane(String name, String color, int age, double price, String wing) {
        super(name, color, age, price);
        this.wing = wing;
    }

    public String wing;//机翼
    public void fly(){
        System.out.println("飞机可以飞");
    }
}
